package com.yidu.drug.model;

import java.io.Serializable;
import java.util.Date;

import com.yidu.drug.common.Page;
import com.yidu.drug.common.Tools;

public class MaterialTypeModel implements Serializable {
    private String matTypeId;

    private String matTypeName;

    private String pid;

    private Date optime;

    private String oper;

    private String isva;

    private Integer sort;

    private Page page;
    
    private String time;
    
    
    
    public String getTime() {
    	time = Tools.getTimeStr(optime);
		return time;
	}

	public void setTime(String time) {
		this.time = time;
	}

	public Page getPage() {
		return page;
	}

	public void setPage(Page page) {
		this.page = page;
	}

	private static final long serialVersionUID = 1L;

    public String getMatTypeId() {
        return matTypeId;
    }

    public void setMatTypeId(String matTypeId) {
        this.matTypeId = matTypeId;
    }

    public String getMatTypeName() {
        return matTypeName;
    }

    public void setMatTypeName(String matTypeName) {
        this.matTypeName = matTypeName;
    }

    public String getPid() {
        return pid;
    }

    public void setPid(String pid) {
        this.pid = pid;
    }

    public Date getOptime() {
        return optime;
    }

    public void setOptime(Date optime) {
        this.optime = optime;
    }

    public String getOper() {
        return oper;
    }

    public void setOper(String oper) {
        this.oper = oper;
    }

    public String getIsva() {
        return isva;
    }

    public void setIsva(String isva) {
        this.isva = isva;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

}